<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main" />
    <title>Vacation List</title>
  </head>

  <body>
    <div class="nav">
      <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
      <span class="menuButton"><g:link class="create" action="create">New Vacation</g:link></span>
    </div>

    <div class="body">
      <h1>Vacation List</h1>

      <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
      </g:if>

      <g:render template="/vacationList" />

      <div class="paginateButtons">
        <g:paginate total="${vacationInstanceTotal}" />
      </div>
    </div>
  </body>
</html>
